﻿@model Noodles.Core.Model.PagedData<Noodles.Core.Model.BlogPost>



        @foreach (var blog in Model.Data)
        {            
                   
            <h2>          
           @Html.ActionLink(blog.Title, "Details", "Post", new {SeoTitle = blog.Title.ToUrl() }, null)     
          
          </h2>
            
                <p>@blog.Description</p>   
            <br />             
        }
    
        @for (int i = 1; i <= Model.NumberOfPages; i++)
        {
            if (i == Model.CurrentPage)
            {
                @i
            }
            else
            {
                <a class="page-number" href="javascript:void();">@i</a>
            }
        }
          
